H. Vogt 09.11.08, modified 13.04.2012
(Translation of some commands from German to English is required)

This this directory (visualc-tcl) with its files 
tclspice.sln (project starter) and
tclspice.vcproj (project contents)
allows to compile and link tclspice with MS Visual Studio 2008.
The project is probably not compatible with Visual Studio 2005.

CIDER and XSPICE are included, but the code models for XSPICE
(*.cm) are not (yet) made. You may however use the code models
created with MINGW (which in fact are dlls), as e.g. found in 
the ngspice binary distribution.

There is currently no installation procedure provided, you may
however install the executable manually as described in the
installation tree below.

/visualc-tcl/include contains a dedicated config.h file. It contains the
preprocessor definitions required to properly compile the code.
strings.h has been necessary during setting up the project.


Install Microsoft Visual Studio 2008 C++.
To be able to link the code, you need to install tcl/tk and blt24.

Goto /ng-spice-rework/visualc-tcl

Start MS Visual Studio 2008 by double click onto tclspice.sln

After MS Visual Studio has opened up, select debug or release version 
by checking 'Erstellen' , 'Konfigurations-Manager' 'Debug' or 'Release'

Start making tclspice (called tclspice.dll) by selecting 'Erstellen' and 
'tclspice neu erstellen'.

Object files will be created and stored in visualc-tcl/Debug, visualc-tcl/Release or 
visualc-tcl/ReleaseOMP.
The executable will be stored to visualc-tcl/debug/bin or visualc-tcl/release/bin.

Installation tree (to be assembled manually):

D:\tclspice-release\
    tb4_start.bat
	bin86r\
		blt24.dll
		spice.dll
		spice2poly.cm
		tcl86t.dll
		tclspinit
		tk86t.dll
		vcomp90.dll
		wish.exe
	lib\
		blt2.4\
		    <files as provided in dir library of blt2.4z>		
		tcl8.6\
		    <files as provided in dir library of tcl8.6b2>
		tk8.6\
		    <files as provided in dir library of tk8.6b2>
	tests\
		tb1\
		tb2\
		tb3\
		tb4\
		tcl\
